/**
 *  显示地图的视图
 * */
import View from 'ol/View';
import { fromLonLat } from 'ol/proj';
const view = new View({
    center: fromLonLat([117.283042,31.86119]),
    zoom: 12, // 设置西安为地图中心
    rotation: 0,  // Math.PI / 8
    constrainResolution: true
})
export default view;
